/*
 * @(#)SageStarter.java $version 2012. 5. 9.
 *
 */

package com.mywep.myalimi.batch.sage;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @author 한지웅
 */
@Component
public class SageStarter {
	private static final Logger LOG = LoggerFactory.getLogger(SageStarter.class);

	//	@Autowired
	//	@Qualifier("syncJobLauncher")
	//	private JobLauncher syncJobLauncher;
	//
	//	@Resource(name = "sageJob")
	//	private Job sageJob;
	//
	//	@Scheduled(cron = "0 */1 * * * *")
	//	public void SageStart() {
	//		JobParametersBuilder builder = new JobParametersBuilder();
	//		builder.addString("sageJob", Calendar.getInstance().toString().substring(0, 200));
	//		try {
	//			syncJobLauncher.run(sageJob, builder.toJobParameters());
	//		} catch (Exception e) {
	//			LOG.error("{}", e);
	//		}
	//
	//	}
}
